package com.neu.his.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neu.his.entity.Regist;
import com.neu.his.entity.VO.lastVerssion.RegistRecordsVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RegistMapper extends BaseMapper<Regist> {

    //获取对应id-regist的registlevel，id=-1获取所有
    public List<Regist> getRegistLevel(Long id);

    //获取对应id-regist的department，id=-1获取所有
    public List<Regist> getRegistDepartment(Long id);
}
